package com.jch.dm4_promise.examples;

import java.io.File;

public class FakeFTPUploader implements FTPUploader{
    @Override
    public void init(String ftpServer, String ftpUserName, String password, String serverDir) throws Exception {

    }

    @Override
    public void upload(File file) throws Exception {
        System.out.println("uploading " + file.getName());
        Thread.sleep(1000);
    }

    @Override
    public void disconnect() {

    }
}
